package com.ruoyi.param.mapper;

import com.ruoyi.param.domain.TparamTp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TparamTpMapper {

    int deleteByPrimaryKey(String id);

    int insert(TparamTp record);

    void insertSelective(TparamTp record);

    TparamTp selectByPrimaryKey(String id);

    void updateByRoomIdSelective(TparamTp record);

    int updateByPrimaryKey(TparamTp record);

    List<TparamTp> selectTpList(TparamTp tparamTp);

    void deleteByRoomIds(@Param("roomIds") List<String> roomIds);

    List<TparamTp> selectTpListByRoomIds(@Param("roomIds") List<String> roomIds, @Param("runType") Integer runType);

    void refresh(List<TparamTp> records);
}